home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
WimpSWIs
/
Static
/
Makefile
< prev
Wrap
Makefile
|
1995-09-04
|
2KB
|
111 lines
ObjectFiles = \
o.DLLPoll \
o.00Poll \
o.01Init \
o.02CreateW \
o.03CreateI \
o.04DeleteW \
o.05DeleteI \
o.06OpenW \
o.07CloseW \
o.08RedrawW \
o.09UpdateW \
o.10GetRect \
o.11GetState \
o.12GetInfo \
o.12GetInfo3 \
o.13SetIStat \
o.14GetIInfo \
o.15PointInf \
o.16DragBox \
o.17ForceRed \
o.18SetCaret \
o.19GetCaret \
o.20CreateM \
o.21DecodeM \
o.22WhichI \
o.23SetExten \
o.24PtrShape \
o.25OpenT \
o.26CloseT \
o.27LoadT \
o.28ProcKey \
o.29CloseDn \
o.31StrtTask \
o.31StrtTsk3 \
o.32GetWOut \
o.33PlotI \
o.34SetMode \
o.35ReadPal \
o.36SetPal \
o.37SetCol \
o.38BOSprite \
o.39BlockCpy \
o.40RepError \
o.40RepErrR \
o.41SendMsg \
o.43CreateSM \
o.44SlotSize \
o.45TransBlk \
o.47SpriteOp \
o.48FontCols \
o.49PixTrans \
o.50CmdWind \
LibName = WimpSWIs
# Template makefile which makes normal
# .o files for use in the main static
# linking DeskLib.
# The macro $(ObjectFiles) should be set at the
# start of this file to be a space-separated
# list of object files.
# This is done by 'Makatic'.
# The macro $(LibName) should also be set at the
# start of this file, to be the name of the
# DeskLib sublibrary.
# This is done by 'Makatic'.
# Compiler and linker flags, These can be anything.
# All essential flags are included in the macros
# $(CC) and $(ASM)
#
CCFlags = -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
ASMFlags = -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
CC = cc -c $(CCFlags)
ASM = objasm $(ASMFlags)
# -------------------------------------------------------
# Everything below here should probably not be changed...
# -------------------------------------------------------
# Here's what we want to make...
#
All: $(ObjectFiles)
VPATH = @.^
.SUFFIXES: .c .s .o
.c.o:
$(CC) $< -o $@
.s.o:
$(ASM) -from $< -to $@
# Dynamic dependencies:
o.DLLPoll: ^.c.DLLPoll
o.DLLPoll: DeskLib:h.WimpSWIs
o.DLLPoll: DeskLib:h.Core
o.DLLPoll: DeskLib:h.Wimp
o.DLLPoll: ^.h.DLLPollDefs